home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacApp Release 10 / Metrowerks Support / Libraries / CW MALibraries / CWMacApp.pch.h < prev    next >
Encoding:
Text File  |  1996-04-03  |  1.7 KB  |  77 lines  |  [TEXT/CWIE]

  1. //
  2. //    CWMacApp.pch.h
  3. //
  4. //    Generates the 'MacAppHeaders<xxx>' precompiled header for Metrowerks C/C++.
  5. //  Copyright © 1993-1996 metrowerks inc.  All rights reserved.
  6. //
  7. //
  8. //--------------------------------------------------------------------------------
  9.  
  10. #pragma once on
  11. #pragma check_header_flags on
  12.  
  13. #if __option(precompile)
  14.  
  15.     //•-------------------------------------------------------
  16.     //• CWMacAppSwitches.h must be first here because
  17.     //• it sets up the compile flags even before
  18.     //• MAConditionalMacros.h (which must be first elsewhere).
  19.     //•-------------------------------------------------------
  20.     #include "CWMacAppSwitches.h"
  21.     
  22.     // precompile the MacApp headers
  23.     #include "CWMacAppHeaders.h"
  24.     
  25.     //
  26.     //    Support for automatically naming the precompiled header file ...
  27.     //
  28.     
  29.     #if __POWERPC__
  30.         #if wantDebugging
  31.             #pragma precompile_target "MacAppHeadersPPC_d"
  32.         #else
  33.             #pragma precompile_target "MacAppHeadersPPC_nd"
  34.         #endif
  35.     #elif __CFM68K__
  36.         #if wantDebugging
  37.             #pragma precompile_target "MacAppHeadersCFM68K_d"
  38.         #else
  39.             #pragma precompile_target "MacAppHeadersCFM68K_nd"
  40.         #endif
  41.     #else
  42.         #if wantDebugging
  43.             #pragma precompile_target "MacAppHeaders68K_d"
  44.         #else
  45.             #pragma precompile_target "MacAppHeaders68K_nd"
  46.         #endif
  47.     #endif
  48.     
  49. #else
  50.  
  51.     #if __POWERPC__
  52.         #if wantDebugging
  53.             #include "MacAppHeadersPPC_d"
  54.         #else
  55.             #include "MacAppHeadersPPC_nd"
  56.         #endif
  57.     #elif __CFM68K__
  58.         #if wantDebugging
  59.             #include "MacAppHeadersCFM68K_d"
  60.         #else
  61.             #include "MacAppHeadersCFM68K_nd"
  62.         #endif
  63.     #else
  64.         #if wantDebugging
  65.             #include "MacAppHeaders68K_d"
  66.         #else
  67.             #include "MacAppHeaders68K_nd"
  68.         #endif
  69.     #endif
  70.  
  71. #endif
  72.  
  73.  
  74. //----------------------------------------------------------------------------------------
  75. // End of CWMacApp.pch.h
  76.  
  77.